<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>编辑班级</title>
</head>
<body>
<%
    Object obj=session.getAttribute("clazz");
    if(obj==null){
      out.println("没有班级数据");
      return;
    }
    String[] clazz=(String[])obj;
%>
<form action="<%=request.getContextPath()%>/updateClazz" method="post">
    <input type="hidden" name="id" value="<%=clazz[0]%>">
    名字：<input type="text" name="name" value="<%=clazz[1]%>"><br>
    <input type="submit" value="更新">
</form>

</body>
</html>
